<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
  layout:decorator="layouts/layout" th:with="header='删除库存', subtext='删除库存并生成下架'">

<head>
	<title>托盘销库下架</title>
</head>
<body>
	<th:block layout:fragment="content">
		<div class="box">
			<div class="box-body">
				<form id="inventorydetailsForm" name="inventorydetailsForm" th:object="${m}" th:action="@{|${baseUrl}/delmove${m.id==null?'':'/' + m.id}|}" method="post" class="form-horizontal" novalidate="novalidate">
					<input id="id" type="hidden" name="id" th:field="*{id}" />
					<input id="version" type="hidden" name="version" th:field="*{version}" />
					<input id="batchIds" type="hidden" name="batchIds" th:field="*{batchIds}" />
					<div class="row line">
						<div class="col-lg-6">
							<h3 class="page-header">基本信息</h3>
						</div>
					</div>
					
					
                  			<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="control-label col-sm-3 mg-top-6 ">容器编码</label>
										<div class="col-sm-8 form-control-static">
											<input id="containNumber" name="containNumber" th:value="*{containNumber}" maxlength="20" th:readonly="true"
											class="form-control" />
										</div>
									</div>
								</div>
						   </div>		
                  			<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="control-label col-sm-3 mg-top-6 ">库位</label>
										<div class="col-sm-8 form-control-static">
											<input id="location.code" name="location.code" th:value="*{location.code}" maxlength="20" th:readonly="true"
											class="form-control" />
										</div>
									</div>
								</div>
						   </div>		
						   
                  			<div class="row">
								<div class="col-sm-6">
						            <div class="form-group">
						              <label class="control-label col-sm-3 mg-top-6 ">上/下架站台</label>
						              <div class="col-sm-8 form-control-stati">
						                <select name="ioWorkLocation" id="ioWorkLocation" class="form-control">
						                  <option value="">请选择</option>
						                  <option th:each="a : ${@CODES.findByType('OUT_WORK_STATION')}" th:value="${a.value}" th:text="${a.name}" />
						                </select>
						              </div>
								  </div>
				               </div>
				            </div>
	              	
					  	   <div class="hr-line-dashed"></div>
						   <div class="form-group">
								<div class="text-center">
									<a class="btn btn-default " th:href="@{|${baseUrl}|}"> 
									    <i class="fa fa-fw fa-reply"></i> 返回
									</a>
									<button type="submit" class="btn btn-primary">
										<i class="fa fa-fw  fa-save"></i> 确认
									</button>
								</div>
						  </div>	
				</form>
			</div>
		</div>
	</th:block>
	<th:block layout:fragment="scripts">
	
	<script th:replace="layouts/fragments/validatejs :: validate">
	</script>
	
	<script th:inline="javascript">
    </script>
    
	<script th:inline="javascript">
   	  // 后端传入前端使用的变量JS中定义
      var batchIds = /*[[${ids}]]*/'';
   	</script>
		<script th:src="@{|${theme}/js/app/inventory/invdelmove_form.js?v=${applicationVersion}|}" th:inline="javascript"></script>
	</th:block>
</body>

</html>